package com.tttshaoqi.server.service;

import com.tttshaoqi.common.result.PageResult;
import com.tttshaoqi.common.result.Result;
import com.tttshaoqi.pojo.dto.LoginDTO;
import com.tttshaoqi.pojo.dto.PassWordDTO;
import com.tttshaoqi.pojo.entity.Employee;
import org.springframework.stereotype.Service;

@Service
public interface EmployeeService {
    Result login(LoginDTO loginDTO);

    PageResult page(Integer page, Integer pageSize, String name);

    void status(Integer status, Long id);

    Result add(Employee employee);

    Result getById(Long id);

    void update(Employee employee);

    Result editPassword(PassWordDTO passWordDTO);
}
